package cn.iocoder.yudao.framework.location;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <pre>
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 *  逆地理编码查询结果
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * </pre>
 *
 * @author 山野羡民（1032694760@qq.com）
 * @since 2024/11/27
 */
@NoArgsConstructor
@Data
public class LocationInfo {
    @JsonProperty("formattedAddress")
    @Schema(description = "标准地址", example = "贵州省贵阳市南明区铁建城")
    private String formattedAddress;
    @JsonProperty("provinceName")
    @Schema(description = "省份名称", example = "贵州省")
    private String provinceName;
    @JsonProperty("provinceCode")
    @Schema(description = "省份编码", example = "520000")
    private String provinceCode;
    @JsonProperty("cityName")
    @Schema(description = "城市名称", example = "贵阳市")
    private String cityName;
    @JsonProperty("cityCode")
    @Schema(description = "城市编码", example = "520100")
    private String cityCode;
    @JsonProperty("countyName")
    @Schema(description = "区县名称", example = "南明区")
    private String countyName;
    @JsonProperty("countyCode")
    @Schema(description = "区县编码", example = "520102")
    private String countyCode;
}
